﻿using GN.Pay.Application.AdminApp.Dto.Input;
using GN.Pay.Application.AdminApp.Dto.Output;
using GN.Pay.Application.Dto.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Application.AdminApp
{
    /// <summary>
    /// 系统配置应用服务
    /// </summary>
    public interface ISystemConfigureAppService : IPayAppService
    {
        /// <summary>
        /// 添加或修改配置
        /// </summary>
        /// <param name="input">输入</param>
        /// <returns></returns>
        SystemConfigureOutput AddOrModify(SystemConfigureInput input);

        /// <summary>
        /// 获取配置
        /// </summary>
        /// <param name="input">输入</param>
        /// <returns></returns>
        SystemConfigureOutput Get(PrimaryKeyInput<string> input);

        /// <summary>
        /// 删除配置
        /// </summary>
        /// <param name="input">输入</param>
        /// <returns></returns>
        bool Delete(PrimaryKeyInput<string> input);
    }
}
